<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
<%@include file="/WEB-INF/pages/comm/head.jsp"%>
</head>
<body>
<div class="container-fluid">
    <div id="toolbar">
    <button class="btn btn-primary" onclick="prepareGrant()">角色授权</button>
    </div>
    <table id="table"
           data-url="${ctx}/sys/role/list"
           data-toggle="table"
           data-toolbar="#toolbar"
           data-toolbar-align="right"
           data-detail-view="true"
           data-detail-formatter="detail"
    >
        <thead>
        <tr>
             <th data-radio="true"></th>
            <th data-field="id">编号</th>
            <th data-field="name">名称</th>
            <th data-field="state">状态</th>
            <th data-field="modifyBy">修改人</th>
            <th data-field="modifyTime">修改时间</th>
        </tr>
        </thead>
    </table>
    <div id="grant">
    </div>

</div>
<%@include file="/WEB-INF/pages/comm/foot.jsp"%>
<script src="res/js/role.js"></script>
</body>
</html>
